//
//  LoginViewController.h
//  Mecca
//
//  Created by Ryan Enguero on 5/20/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <FacebookSDK/FacebookSDK.h>


@interface LoginViewController : UIViewController <UITextFieldDelegate, FBLoginViewDelegate, UIAlertViewDelegate>

@property (strong, nonatomic) IBOutlet UITextField *usernameTxt;
@property (strong, nonatomic) IBOutlet UITextField *passwordTxt;

@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *activityLoader;
@property (strong, nonatomic) IBOutlet UIButton *btnLogin;
@property (strong, nonatomic) IBOutlet UIScrollView *scroller;

@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *actLoader;

@property (strong, nonatomic) NSString *loginType;

@property (strong, nonatomic) NSMutableData *receivedData;
@property (strong, nonatomic) NSURLConnection *theConnection;

@property (strong, nonatomic) NSMutableData *receivedDataRefresh;
@property (strong, nonatomic) NSURLConnection *theConnectionRefresh;


- (IBAction)loginAction:(id)sender;

- (IBAction)registerAction:(id)sender;





@end
